package com.jueban.model.user;

import com.jueban.util.Enum.JobType;
import lombok.Data;

import javax.persistence.*;


@Data
@PrimaryKeyJoinColumn(name = "id")
public class Teacher {

    @Column
    @Enumerated(EnumType.STRING)
    private JobType jobType;


    /*
    @Override
    public String getType() {
        if (jobType == null) return super.getType();
        return super.getType() + "_" + this.jobType.toString();
    }*/
}
